package com.shop.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author : WanS
 * @date : 20:20 2020/11/30
 * 自定义异常
 */
@Getter
@Setter
public class BusinessException extends RuntimeException {

    private CodeMsg codeMsg;

    public BusinessException(CodeMsg codeMsg) {
        this.codeMsg = codeMsg;
    }
    public BusinessException() {
    }

}
